Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(cbor): remove map null value in test assertion #2319

Merged
merged 1 commit into from
Jun 12, 2024

Conversation

kuhe
Copy link
Contributor

@kuhe kuhe commented Jun 12, 2024

A cbor protocol test appears to have an extraneous value in its result matcher.

The description says "Clients SHOULD tolerate seeing a null value in a dense map, and they SHOULD drop the null key-value pair." This means the expected params.denseSetMap should not retain the null value present in the base64 payload.

Testing

Tested this change while building Smithy RPCv2 CBOR for TypeScript - smithy-lang/smithy-typescript#1280

The description says "Clients SHOULD tolerate seeing a null value in a dense map, and they SHOULD
drop the null key-value pair." This means the expected params.denseSetMap should not retain the null value present in the base64 payload.
@kuhe kuhe requested a review from a team as a code owner June 12, 2024 15:40
@kuhe kuhe requested a review from kstich June 12, 2024 15:40
@kstich kstich merged commit a1642ae into smithy-lang:main Jun 12, 2024
13 checks passed
@kuhe kuhe deleted the patch-1 branch June 12, 2024 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants